[INFO] cloning repository https://github.com/rinp/euler_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rinp/euler_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frinp%2Feuler_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frinp%2Feuler_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 40e3de61ca122e89cfc7cbed6ec6eb2ea343eb48
[INFO] checking rinp/euler_rust against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frinp%2Feuler_rust" "/workspace/builds/worker-10/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/rinp/euler_rust on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/rinp/euler_rust
[INFO] finished tweaking git repo https://github.com/rinp/euler_rust
[INFO] tweaked toml for git repo https://github.com/rinp/euler_rust written to /workspace/builds/worker-10/source/Cargo.toml
[INFO] crate git repo https://github.com/rinp/euler_rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded num-integer v0.1.33
[INFO] [stderr]   Downloaded rustc-serialize v0.3.23
[INFO] [stderr]   Downloaded num_cpus v1.3.0
[INFO] [stderr]   Downloaded num-complex v0.1.36
[INFO] [stderr]   Downloaded lazy_static v0.2.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ea712ac63be674dac2e9e5f9b9303b031dc10fee758780b4a3e4eca4854b7e8e
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ea712ac63be674dac2e9e5f9b9303b031dc10fee758780b4a3e4eca4854b7e8e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ea712ac63be674dac2e9e5f9b9303b031dc10fee758780b4a3e4eca4854b7e8e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ea712ac63be674dac2e9e5f9b9303b031dc10fee758780b4a3e4eca4854b7e8e", kill_on_drop: false }`
[INFO] [stdout] ea712ac63be674dac2e9e5f9b9303b031dc10fee758780b4a3e4eca4854b7e8e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 191caaf6273dcf570a877ad440b29ff1e163afee7f01f9800fbc36c9065d38f6
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "191caaf6273dcf570a877ad440b29ff1e163afee7f01f9800fbc36c9065d38f6", kill_on_drop: false }`
[INFO] [stderr]     Checking rustc-serialize v0.3.23
[INFO] [stderr]     Checking num_cpus v1.3.0
[INFO] [stderr]     Checking deque v0.3.1
[INFO] [stderr]    Compiling tempfile v2.1.5
[INFO] [stderr]     Checking rayon v0.6.0
[INFO] [stderr]     Checking num-bigint v0.1.37
[INFO] [stderr]     Checking num-complex v0.1.36
[INFO] [stderr]     Checking num-rational v0.1.36
[INFO] [stderr]     Checking num v0.1.37
[INFO] [stderr]     Checking euler v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/common/iter.rs:3:28
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn prime_iter() -> Box<Iterator<Item = u64>> {
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator<Item = u64>`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/common/iter.rs:44:52
[INFO] [stdout]    |
[INFO] [stdout] 44 | ...                   -> Box<Iterator<Item = Vec<E>>> {
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator<Item = Vec<E>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/common/iter.rs:57:54
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn combination_add(length: usize, max: usize) -> Box<Iterator<Item = Vec<usize>>> {
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator<Item = Vec<usize>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/common/iter.rs:60:17
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let it: Box<Iterator<Item = Vec<usize>>> = Box::new(base_it);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator<Item = Vec<usize>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/common/iter.rs:65:32
[INFO] [stdout]    |
[INFO] [stdout] 65 |                       now: Box<Iterator<Item = Vec<usize>>>,
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator<Item = Vec<usize>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/common/iter.rs:68:30
[INFO] [stdout]    |
[INFO] [stdout] 68 |                       -> Box<Iterator<Item = Vec<usize>>> {
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator<Item = Vec<usize>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/prob501_600/prob501_510/p501.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/prob501_600/prob501_510/p501.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc`
[INFO] [stdout]  --> src/prob501_600/prob501_510/p501.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::mpsc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]  --> src/prob101_200/prob101_110/p102.rs:8:54
[INFO] [stdout]   |
[INFO] [stdout] 8 |         Err(why) => panic!("couldn't open : {}  {}", Error::description(&why), why),
[INFO] [stdout]   |                                                      ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/common/iter.rs:3:28
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn prime_iter() -> Box<Iterator<Item = u64>> {
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator<Item = u64>`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/common/iter.rs:44:52
[INFO] [stdout]    |
[INFO] [stdout] 44 | ...                   -> Box<Iterator<Item = Vec<E>>> {
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator<Item = Vec<E>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/common/iter.rs:57:54
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn combination_add(length: usize, max: usize) -> Box<Iterator<Item = Vec<usize>>> {
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator<Item = Vec<usize>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/common/iter.rs:60:17
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let it: Box<Iterator<Item = Vec<usize>>> = Box::new(base_it);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator<Item = Vec<usize>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/common/iter.rs:65:32
[INFO] [stdout]    |
[INFO] [stdout] 65 |                       now: Box<Iterator<Item = Vec<usize>>>,
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator<Item = Vec<usize>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/common/iter.rs:68:30
[INFO] [stdout]    |
[INFO] [stdout] 68 |                       -> Box<Iterator<Item = Vec<usize>>> {
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator<Item = Vec<usize>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/prob501_600/prob501_510/p501.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/prob501_600/prob501_510/p501.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc`
[INFO] [stdout]  --> src/prob501_600/prob501_510/p501.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::mpsc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]  --> src/prob101_200/prob101_110/p102.rs:8:54
[INFO] [stdout]   |
[INFO] [stdout] 8 |         Err(why) => panic!("couldn't open : {}  {}", Error::description(&why), why),
[INFO] [stdout]   |                                                      ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return reference to temporary value
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:33:18
[INFO] [stdout]    |
[INFO] [stdout] 33 |         .map(|l| &l.unwrap().parse::<u64>().unwrap());
[INFO] [stdout]    |                  ^----------------------------------
[INFO] [stdout]    |                  ||
[INFO] [stdout]    |                  |temporary value created here
[INFO] [stdout]    |                  returns a reference to data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |             (&primes.cloned())
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^ move occurs because value has type `Cloned<std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `primes`, a captured variable in an `FnMut` closure
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:47:15
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let primes = BufReader::new(tmp_file.reopen().unwrap())
[INFO] [stdout]    |         ------ captured outer variable
[INFO] [stdout] ...
[INFO] [stdout] 47 |             (&primes.cloned())
[INFO] [stdout]    |               ^^^^^^ move occurs because `primes` has type `std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |             (&primes.cloned())
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^ move occurs because value has type `Cloned<std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `primes`, a captured variable in an `FnMut` closure
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:51:15
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let primes = BufReader::new(tmp_file.reopen().unwrap())
[INFO] [stdout]    |         ------ captured outer variable
[INFO] [stdout] ...
[INFO] [stdout] 51 |             (&primes.cloned())
[INFO] [stdout]    |               ^^^^^^ move occurs because `primes` has type `std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `primes`, a captured variable in an `FnMut` closure
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:66:21
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let primes = BufReader::new(tmp_file.reopen().unwrap())
[INFO] [stdout]    |         ------ captured outer variable
[INFO] [stdout] ...
[INFO] [stdout] 66 |                     primes.cloned()
[INFO] [stdout]    |                     ^^^^^^ move occurs because `primes` has type `std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `primes`, a captured variable in an `FnMut` closure
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:63:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let primes = BufReader::new(tmp_file.reopen().unwrap())
[INFO] [stdout]    |         ------ captured outer variable
[INFO] [stdout] ...
[INFO] [stdout] 63 |             primes.cloned()
[INFO] [stdout]    |             ^^^^^^ move occurs because `primes` has type `std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `primes`, a captured variable in an `FnMut` closure
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:65:22
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let primes = BufReader::new(tmp_file.reopen().unwrap())
[INFO] [stdout]    |         ------ captured outer variable
[INFO] [stdout] ...
[INFO] [stdout] 65 |                 .map(|b: u64| {
[INFO] [stdout]    |                      ^^^^^^^^ move out of `primes` occurs here
[INFO] [stdout] 66 |                     primes.cloned()
[INFO] [stdout]    |                     ------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     move occurs because `primes` has type `std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>`, which does not implement the `Copy` trait
[INFO] [stdout]    |                     move occurs due to use in closure
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:38:24
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let count_1: u64 = (&primes.cloned()).take_while(|&a| a * a * a * a * a * a * a < max)
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^ move occurs because value has type `Cloned<std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:43:24
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let count_2: u64 = (&primes.cloned())
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^ move occurs because value has type `Cloned<std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `primes`
[INFO] [stdout]     --> src/prob501_600/prob501_510/p501.rs:43:26
[INFO] [stdout]      |
[INFO] [stdout] 31   |     let primes = BufReader::new(tmp_file.reopen().unwrap())
[INFO] [stdout]      |         ------ move occurs because `primes` has type `std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 38   |     let count_1: u64 = (&primes.cloned()).take_while(|&a| a * a * a * a * a * a * a < max)
[INFO] [stdout]      |                                 -------- `primes` moved due to this method call
[INFO] [stdout] ...
[INFO] [stdout] 43   |     let count_2: u64 = (&primes.cloned())
[INFO] [stdout]      |                          ^^^^^^ value used here after move
[INFO] [stdout]      |
[INFO] [stdout] note: this function consumes the receiver `self` by taking ownership of it, which moves `primes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `primes`
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let primes = BufReader::new(tmp_file.reopen().unwrap())
[INFO] [stdout]    |         ------ move occurs because `primes` has type `std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 43 |     let count_2: u64 = (&primes.cloned())
[INFO] [stdout]    |                                 -------- `primes` moved due to this method call
[INFO] [stdout] 44 |         .map(|a: u64| {
[INFO] [stdout]    |              ^^^^^^^^ value used here after move
[INFO] [stdout] ...
[INFO] [stdout] 47 |             (&primes.cloned())
[INFO] [stdout]    |               ------ use occurs due to use in closure
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:59:24
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let count_3: u64 = (&primes.cloned())
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^ move occurs because value has type `Cloned<std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `primes`
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:59:26
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let primes = BufReader::new(tmp_file.reopen().unwrap())
[INFO] [stdout]    |         ------ move occurs because `primes` has type `std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 44 |         .map(|a: u64| {
[INFO] [stdout]    |              -------- value moved into closure here
[INFO] [stdout] ...
[INFO] [stdout] 47 |             (&primes.cloned())
[INFO] [stdout]    |               ------ variable moved due to use in closure
[INFO] [stdout] ...
[INFO] [stdout] 59 |     let count_3: u64 = (&primes.cloned())
[INFO] [stdout]    |                          ^^^^^^ value used here after move
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `primes`
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:60:14
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let primes = BufReader::new(tmp_file.reopen().unwrap())
[INFO] [stdout]    |         ------ move occurs because `primes` has type `std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 59 |     let count_3: u64 = (&primes.cloned())
[INFO] [stdout]    |                                 -------- `primes` moved due to this method call
[INFO] [stdout] 60 |         .map(|a: u64| {
[INFO] [stdout]    |              ^^^^^^^^ value used here after move
[INFO] [stdout] ...
[INFO] [stdout] 63 |             primes.cloned()
[INFO] [stdout]    |             ------ use occurs due to use in closure
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 15 previous errors; 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0382, E0507, E0515.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `euler`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0515]: cannot return reference to temporary value
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:33:18
[INFO] [stdout]    |
[INFO] [stdout] 33 |         .map(|l| &l.unwrap().parse::<u64>().unwrap());
[INFO] [stdout]    |                  ^----------------------------------
[INFO] [stdout]    |                  ||
[INFO] [stdout]    |                  |temporary value created here
[INFO] [stdout]    |                  returns a reference to data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |             (&primes.cloned())
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^ move occurs because value has type `Cloned<std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `primes`, a captured variable in an `FnMut` closure
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:47:15
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let primes = BufReader::new(tmp_file.reopen().unwrap())
[INFO] [stdout]    |         ------ captured outer variable
[INFO] [stdout] ...
[INFO] [stdout] 47 |             (&primes.cloned())
[INFO] [stdout]    |               ^^^^^^ move occurs because `primes` has type `std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |             (&primes.cloned())
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^ move occurs because value has type `Cloned<std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `primes`, a captured variable in an `FnMut` closure
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:51:15
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let primes = BufReader::new(tmp_file.reopen().unwrap())
[INFO] [stdout]    |         ------ captured outer variable
[INFO] [stdout] ...
[INFO] [stdout] 51 |             (&primes.cloned())
[INFO] [stdout]    |               ^^^^^^ move occurs because `primes` has type `std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `primes`, a captured variable in an `FnMut` closure
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:66:21
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let primes = BufReader::new(tmp_file.reopen().unwrap())
[INFO] [stdout]    |         ------ captured outer variable
[INFO] [stdout] ...
[INFO] [stdout] 66 |                     primes.cloned()
[INFO] [stdout]    |                     ^^^^^^ move occurs because `primes` has type `std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `primes`, a captured variable in an `FnMut` closure
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:63:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let primes = BufReader::new(tmp_file.reopen().unwrap())
[INFO] [stdout]    |         ------ captured outer variable
[INFO] [stdout] ...
[INFO] [stdout] 63 |             primes.cloned()
[INFO] [stdout]    |             ^^^^^^ move occurs because `primes` has type `std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `primes`, a captured variable in an `FnMut` closure
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:65:22
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let primes = BufReader::new(tmp_file.reopen().unwrap())
[INFO] [stdout]    |         ------ captured outer variable
[INFO] [stdout] ...
[INFO] [stdout] 65 |                 .map(|b: u64| {
[INFO] [stdout]    |                      ^^^^^^^^ move out of `primes` occurs here
[INFO] [stdout] 66 |                     primes.cloned()
[INFO] [stdout]    |                     ------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     move occurs because `primes` has type `std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>`, which does not implement the `Copy` trait
[INFO] [stdout]    |                     move occurs due to use in closure
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:38:24
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let count_1: u64 = (&primes.cloned()).take_while(|&a| a * a * a * a * a * a * a < max)
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^ move occurs because value has type `Cloned<std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:43:24
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let count_2: u64 = (&primes.cloned())
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^ move occurs because value has type `Cloned<std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `primes`
[INFO] [stdout]     --> src/prob501_600/prob501_510/p501.rs:43:26
[INFO] [stdout]      |
[INFO] [stdout] 31   |     let primes = BufReader::new(tmp_file.reopen().unwrap())
[INFO] [stdout]      |         ------ move occurs because `primes` has type `std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 38   |     let count_1: u64 = (&primes.cloned()).take_while(|&a| a * a * a * a * a * a * a < max)
[INFO] [stdout]      |                                 -------- `primes` moved due to this method call
[INFO] [stdout] ...
[INFO] [stdout] 43   |     let count_2: u64 = (&primes.cloned())
[INFO] [stdout]      |                          ^^^^^^ value used here after move
[INFO] [stdout]      |
[INFO] [stdout] note: this function consumes the receiver `self` by taking ownership of it, which moves `primes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `primes`
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let primes = BufReader::new(tmp_file.reopen().unwrap())
[INFO] [stdout]    |         ------ move occurs because `primes` has type `std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 43 |     let count_2: u64 = (&primes.cloned())
[INFO] [stdout]    |                                 -------- `primes` moved due to this method call
[INFO] [stdout] 44 |         .map(|a: u64| {
[INFO] [stdout]    |              ^^^^^^^^ value used here after move
[INFO] [stdout] ...
[INFO] [stdout] 47 |             (&primes.cloned())
[INFO] [stdout]    |               ------ use occurs due to use in closure
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:59:24
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let count_3: u64 = (&primes.cloned())
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^ move occurs because value has type `Cloned<std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `primes`
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:59:26
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let primes = BufReader::new(tmp_file.reopen().unwrap())
[INFO] [stdout]    |         ------ move occurs because `primes` has type `std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 44 |         .map(|a: u64| {
[INFO] [stdout]    |              -------- value moved into closure here
[INFO] [stdout] ...
[INFO] [stdout] 47 |             (&primes.cloned())
[INFO] [stdout]    |               ------ variable moved due to use in closure
[INFO] [stdout] ...
[INFO] [stdout] 59 |     let count_3: u64 = (&primes.cloned())
[INFO] [stdout]    |                          ^^^^^^ value used here after move
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `primes`
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:60:14
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let primes = BufReader::new(tmp_file.reopen().unwrap())
[INFO] [stdout]    |         ------ move occurs because `primes` has type `std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 59 |     let count_3: u64 = (&primes.cloned())
[INFO] [stdout]    |                                 -------- `primes` moved due to this method call
[INFO] [stdout] 60 |         .map(|a: u64| {
[INFO] [stdout]    |              ^^^^^^^^ value used here after move
[INFO] [stdout] ...
[INFO] [stdout] 63 |             primes.cloned()
[INFO] [stdout]    |             ------ use occurs due to use in closure
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 15 previous errors; 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0382, E0507, E0515.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "191caaf6273dcf570a877ad440b29ff1e163afee7f01f9800fbc36c9065d38f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "191caaf6273dcf570a877ad440b29ff1e163afee7f01f9800fbc36c9065d38f6", kill_on_drop: false }`
[INFO] [stdout] 191caaf6273dcf570a877ad440b29ff1e163afee7f01f9800fbc36c9065d38f6
